package com.farm.job.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.farm.common.annotation.Excel;
import com.farm.common.core.domain.BaseEntity;

/**
 * 农事记录对象 job
 * 
 * @author yd
 * @date 2024-03-17
 */
public class Job extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录编号 */
    private Long jobId;

    /** 操作人 */
    @Excel(name = "操作人")
    private String jobUser;

    /** 作业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "作业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jobTime;

    /** 作业场地 */
    @Excel(name = "作业场地")
    private String jobArea;

    /** 作业产品 */
    @Excel(name = "作业产品")
    private String jobProduct;

    /** 天气情况 */
    @Excel(name = "天气情况")
    private String jobWeather;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String jobNotes;

    /** 作业种类 */
    @Excel(name = "作业种类")
    private String jobType;

    public void setJobId(Long jobId) 
    {
        this.jobId = jobId;
    }

    public Long getJobId() 
    {
        return jobId;
    }
    public void setJobUser(String jobUser) 
    {
        this.jobUser = jobUser;
    }

    public String getJobUser() 
    {
        return jobUser;
    }
    public void setJobTime(Date jobTime) 
    {
        this.jobTime = jobTime;
    }

    public Date getJobTime() 
    {
        return jobTime;
    }
    public void setJobArea(String jobArea) 
    {
        this.jobArea = jobArea;
    }

    public String getJobArea() 
    {
        return jobArea;
    }
    public void setJobProduct(String jobProduct) 
    {
        this.jobProduct = jobProduct;
    }

    public String getJobProduct() 
    {
        return jobProduct;
    }
    public void setJobWeather(String jobWeather) 
    {
        this.jobWeather = jobWeather;
    }

    public String getJobWeather() 
    {
        return jobWeather;
    }
    public void setJobNotes(String jobNotes) 
    {
        this.jobNotes = jobNotes;
    }

    public String getJobNotes() 
    {
        return jobNotes;
    }
    public void setJobType(String jobType) 
    {
        this.jobType = jobType;
    }

    public String getJobType() 
    {
        return jobType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jobId", getJobId())
            .append("jobUser", getJobUser())
            .append("jobTime", getJobTime())
            .append("jobArea", getJobArea())
            .append("jobProduct", getJobProduct())
            .append("jobWeather", getJobWeather())
            .append("jobNotes", getJobNotes())
            .append("jobType", getJobType())
            .toString();
    }
}
